package com.repair.client;

import com.repair.client.dto.AdminInfoDto;
import com.repair.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "platform-server",path = "/platform")
public interface PlatformClient {

    //根据id查询管理员信息
    @GetMapping("/adminInfo/findAdminById")
    public Result<AdminInfoDto> findAdminById(@RequestParam("adminId") Integer adminId);

}
